package com.admin.education.services.Interfaces;

import com.admin.education.common.exceptions.ResourceNotFoundException;
import com.admin.education.dataTransferObject.PageRequest;
import com.admin.education.dataTransferObject.PageResponse;
import com.admin.education.dataTransferObject.ServicesExcuteResult;
import com.admin.education.dataTransferObject.sponsor.Request.CreateSponsorRequest;
import com.admin.education.dataTransferObject.sponsor.SponsorTransfer;

import javax.validation.Valid;

public interface ISponsorService {
    ServicesExcuteResult createSponsor(@Valid CreateSponsorRequest createSponsorRequest);
    ServicesExcuteResult<PageResponse<SponsorTransfer>> querySponsors(@Valid PageRequest pageRequest);
    ServicesExcuteResult<PageResponse<SponsorTransfer>> querySponsorsForAudit(@Valid PageRequest pageRequest);
    ServicesExcuteResult<SponsorTransfer> querySponsors(long id) throws ResourceNotFoundException;
    ServicesExcuteResult deleteSponsor(long id) throws ResourceNotFoundException;
    ServicesExcuteResult auditSponsor(long id,boolean pass) throws ResourceNotFoundException;
}
